<?php

namespace maotool\orm\sql\insert;

use maotool\orm\sql\base\SqlBuilderItem;
use maotool\orm\sql\SqlBuilder;

class InsertInto extends SqlBuilderItem
{

    /**
     * @param SqlBuilder $sqlBuilder
     * @param $table
     */
    public function __construct($sqlBuilder, $table)
    {
        $this->sqlBuilder = $sqlBuilder;
    }

    public function value($data)
    {
        return new Value($this->sqlBuilder, $data);
    }

    public function values($data)
    {
        return new Values($this->sqlBuilder, $data);
    }

}